package com.neusoft.yiyang.medical.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.neusoft.yiyang.common.entity.medical.CheckOrderRecord;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface CheckOrderRecordMapper extends BaseMapper<CheckOrderRecord> {

    // 根据客户ID查询检查医嘱执行记录
    @Select("SELECT * FROM check_order_record WHERE customer_id = #{customerId}")
    List<CheckOrderRecord> selectListByCustomerId(Integer customerId);

}
